import { ref} from "vue" 
import { defineStore } from 'pinia';

export const useCollegeStore= defineStore("college",()=>{

    const collegeTree=ref([])
    const college=ref([])
    
    const setCollegeTree=(tree)=>{

        collegeTree.value=tree
    }
    const setCollege=(data)=>{
        college.value=data
    }
 

    return {
       
        setCollegeTree,
        collegeTree,
        setCollege,
        college
    }
},{
    persist:false
});
